package com.example.demo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author void
 * @date 2020/5/1
 */
@Data
@Configuration
public class MailConfig {

    @Value("${mail.from.addr}")
    private String from;
    @Value("${mail.to.addr1}")
    private String addr1;
    @Value("${mail.to.addr2}")
    private String addr2;
}
